package com.alipay.sofa.demo.db.common.entity;

import java.util.ArrayList;
import java.util.List;
/**
 * 学生查询实体类
 * @Author Zhang Da
 * @Date 2020/2/13 15:09
 * @Version 1.0
 */
public class StudentInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStudentNoIsNull() {
            addCriterion("student_no is null");
            return (Criteria) this;
        }

        public Criteria andStudentNoIsNotNull() {
            addCriterion("student_no is not null");
            return (Criteria) this;
        }

        public Criteria andStudentNoEqualTo(String value) {
            addCriterion("student_no =", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotEqualTo(String value) {
            addCriterion("student_no <>", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoGreaterThan(String value) {
            addCriterion("student_no >", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoGreaterThanOrEqualTo(String value) {
            addCriterion("student_no >=", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoLessThan(String value) {
            addCriterion("student_no <", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoLessThanOrEqualTo(String value) {
            addCriterion("student_no <=", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoLike(String value) {
            addCriterion("student_no like", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotLike(String value) {
            addCriterion("student_no not like", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoIn(List<String> values) {
            addCriterion("student_no in", values, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotIn(List<String> values) {
            addCriterion("student_no not in", values, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoBetween(String value1, String value2) {
            addCriterion("student_no between", value1, value2, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotBetween(String value1, String value2) {
            addCriterion("student_no not between", value1, value2, "studentNo");
            return (Criteria) this;
        }

        public Criteria andCollegeNameIsNull() {
            addCriterion("college_name is null");
            return (Criteria) this;
        }

        public Criteria andCollegeNameIsNotNull() {
            addCriterion("college_name is not null");
            return (Criteria) this;
        }

        public Criteria andCollegeNameEqualTo(String value) {
            addCriterion("college_name =", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameNotEqualTo(String value) {
            addCriterion("college_name <>", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameGreaterThan(String value) {
            addCriterion("college_name >", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameGreaterThanOrEqualTo(String value) {
            addCriterion("college_name >=", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameLessThan(String value) {
            addCriterion("college_name <", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameLessThanOrEqualTo(String value) {
            addCriterion("college_name <=", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameLike(String value) {
            addCriterion("college_name like", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameNotLike(String value) {
            addCriterion("college_name not like", value, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameIn(List<String> values) {
            addCriterion("college_name in", values, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameNotIn(List<String> values) {
            addCriterion("college_name not in", values, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameBetween(String value1, String value2) {
            addCriterion("college_name between", value1, value2, "collegeName");
            return (Criteria) this;
        }

        public Criteria andCollegeNameNotBetween(String value1, String value2) {
            addCriterion("college_name not between", value1, value2, "collegeName");
            return (Criteria) this;
        }

        public Criteria andMajorNameIsNull() {
            addCriterion("major_name is null");
            return (Criteria) this;
        }

        public Criteria andMajorNameIsNotNull() {
            addCriterion("major_name is not null");
            return (Criteria) this;
        }

        public Criteria andMajorNameEqualTo(String value) {
            addCriterion("major_name =", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotEqualTo(String value) {
            addCriterion("major_name <>", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameGreaterThan(String value) {
            addCriterion("major_name >", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameGreaterThanOrEqualTo(String value) {
            addCriterion("major_name >=", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLessThan(String value) {
            addCriterion("major_name <", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLessThanOrEqualTo(String value) {
            addCriterion("major_name <=", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLike(String value) {
            addCriterion("major_name like", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotLike(String value) {
            addCriterion("major_name not like", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameIn(List<String> values) {
            addCriterion("major_name in", values, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotIn(List<String> values) {
            addCriterion("major_name not in", values, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameBetween(String value1, String value2) {
            addCriterion("major_name between", value1, value2, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotBetween(String value1, String value2) {
            addCriterion("major_name not between", value1, value2, "majorName");
            return (Criteria) this;
        }

        public Criteria andGradeIsNull() {
            addCriterion("grade is null");
            return (Criteria) this;
        }

        public Criteria andGradeIsNotNull() {
            addCriterion("grade is not null");
            return (Criteria) this;
        }

        public Criteria andGradeEqualTo(String value) {
            addCriterion("grade =", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotEqualTo(String value) {
            addCriterion("grade <>", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThan(String value) {
            addCriterion("grade >", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeGreaterThanOrEqualTo(String value) {
            addCriterion("grade >=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThan(String value) {
            addCriterion("grade <", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLessThanOrEqualTo(String value) {
            addCriterion("grade <=", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeLike(String value) {
            addCriterion("grade like", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotLike(String value) {
            addCriterion("grade not like", value, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeIn(List<String> values) {
            addCriterion("grade in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotIn(List<String> values) {
            addCriterion("grade not in", values, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeBetween(String value1, String value2) {
            addCriterion("grade between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andGradeNotBetween(String value1, String value2) {
            addCriterion("grade not between", value1, value2, "grade");
            return (Criteria) this;
        }

        public Criteria andClassNameIsNull() {
            addCriterion("class_name is null");
            return (Criteria) this;
        }

        public Criteria andClassNameIsNotNull() {
            addCriterion("class_name is not null");
            return (Criteria) this;
        }

        public Criteria andClassNameEqualTo(String value) {
            addCriterion("class_name =", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotEqualTo(String value) {
            addCriterion("class_name <>", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameGreaterThan(String value) {
            addCriterion("class_name >", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameGreaterThanOrEqualTo(String value) {
            addCriterion("class_name >=", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameLessThan(String value) {
            addCriterion("class_name <", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameLessThanOrEqualTo(String value) {
            addCriterion("class_name <=", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameLike(String value) {
            addCriterion("class_name like", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotLike(String value) {
            addCriterion("class_name not like", value, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameIn(List<String> values) {
            addCriterion("class_name in", values, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotIn(List<String> values) {
            addCriterion("class_name not in", values, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameBetween(String value1, String value2) {
            addCriterion("class_name between", value1, value2, "className");
            return (Criteria) this;
        }

        public Criteria andClassNameNotBetween(String value1, String value2) {
            addCriterion("class_name not between", value1, value2, "className");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andScoreTotalIsNull() {
            addCriterion("score_total is null");
            return (Criteria) this;
        }

        public Criteria andScoreTotalIsNotNull() {
            addCriterion("score_total is not null");
            return (Criteria) this;
        }

        public Criteria andScoreTotalEqualTo(Double value) {
            addCriterion("score_total =", value, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalNotEqualTo(Double value) {
            addCriterion("score_total <>", value, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalGreaterThan(Double value) {
            addCriterion("score_total >", value, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalGreaterThanOrEqualTo(Double value) {
            addCriterion("score_total >=", value, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalLessThan(Double value) {
            addCriterion("score_total <", value, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalLessThanOrEqualTo(Double value) {
            addCriterion("score_total <=", value, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalIn(List<Double> values) {
            addCriterion("score_total in", values, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalNotIn(List<Double> values) {
            addCriterion("score_total not in", values, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalBetween(Double value1, Double value2) {
            addCriterion("score_total between", value1, value2, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andScoreTotalNotBetween(Double value1, Double value2) {
            addCriterion("score_total not between", value1, value2, "scoreTotal");
            return (Criteria) this;
        }

        public Criteria andMissExamIsNull() {
            addCriterion("miss_exam is null");
            return (Criteria) this;
        }

        public Criteria andMissExamIsNotNull() {
            addCriterion("miss_exam is not null");
            return (Criteria) this;
        }

        public Criteria andMissExamEqualTo(String value) {
            addCriterion("miss_exam =", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamNotEqualTo(String value) {
            addCriterion("miss_exam <>", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamGreaterThan(String value) {
            addCriterion("miss_exam >", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamGreaterThanOrEqualTo(String value) {
            addCriterion("miss_exam >=", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamLessThan(String value) {
            addCriterion("miss_exam <", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamLessThanOrEqualTo(String value) {
            addCriterion("miss_exam <=", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamLike(String value) {
            addCriterion("miss_exam like", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamNotLike(String value) {
            addCriterion("miss_exam not like", value, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamIn(List<String> values) {
            addCriterion("miss_exam in", values, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamNotIn(List<String> values) {
            addCriterion("miss_exam not in", values, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamBetween(String value1, String value2) {
            addCriterion("miss_exam between", value1, value2, "missExam");
            return (Criteria) this;
        }

        public Criteria andMissExamNotBetween(String value1, String value2) {
            addCriterion("miss_exam not between", value1, value2, "missExam");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleIsNull() {
            addCriterion("breach_principle is null");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleIsNotNull() {
            addCriterion("breach_principle is not null");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleEqualTo(String value) {
            addCriterion("breach_principle =", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleNotEqualTo(String value) {
            addCriterion("breach_principle <>", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleGreaterThan(String value) {
            addCriterion("breach_principle >", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleGreaterThanOrEqualTo(String value) {
            addCriterion("breach_principle >=", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleLessThan(String value) {
            addCriterion("breach_principle <", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleLessThanOrEqualTo(String value) {
            addCriterion("breach_principle <=", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleLike(String value) {
            addCriterion("breach_principle like", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleNotLike(String value) {
            addCriterion("breach_principle not like", value, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleIn(List<String> values) {
            addCriterion("breach_principle in", values, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleNotIn(List<String> values) {
            addCriterion("breach_principle not in", values, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleBetween(String value1, String value2) {
            addCriterion("breach_principle between", value1, value2, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andBreachPrincipleNotBetween(String value1, String value2) {
            addCriterion("breach_principle not between", value1, value2, "breachPrinciple");
            return (Criteria) this;
        }

        public Criteria andScoreHearingIsNull() {
            addCriterion("score_hearing is null");
            return (Criteria) this;
        }

        public Criteria andScoreHearingIsNotNull() {
            addCriterion("score_hearing is not null");
            return (Criteria) this;
        }

        public Criteria andScoreHearingEqualTo(Double value) {
            addCriterion("score_hearing =", value, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingNotEqualTo(Double value) {
            addCriterion("score_hearing <>", value, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingGreaterThan(Double value) {
            addCriterion("score_hearing >", value, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingGreaterThanOrEqualTo(Double value) {
            addCriterion("score_hearing >=", value, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingLessThan(Double value) {
            addCriterion("score_hearing <", value, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingLessThanOrEqualTo(Double value) {
            addCriterion("score_hearing <=", value, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingIn(List<Double> values) {
            addCriterion("score_hearing in", values, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingNotIn(List<Double> values) {
            addCriterion("score_hearing not in", values, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingBetween(Double value1, Double value2) {
            addCriterion("score_hearing between", value1, value2, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreHearingNotBetween(Double value1, Double value2) {
            addCriterion("score_hearing not between", value1, value2, "scoreHearing");
            return (Criteria) this;
        }

        public Criteria andScoreReadingIsNull() {
            addCriterion("score_reading is null");
            return (Criteria) this;
        }

        public Criteria andScoreReadingIsNotNull() {
            addCriterion("score_reading is not null");
            return (Criteria) this;
        }

        public Criteria andScoreReadingEqualTo(Double value) {
            addCriterion("score_reading =", value, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingNotEqualTo(Double value) {
            addCriterion("score_reading <>", value, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingGreaterThan(Double value) {
            addCriterion("score_reading >", value, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingGreaterThanOrEqualTo(Double value) {
            addCriterion("score_reading >=", value, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingLessThan(Double value) {
            addCriterion("score_reading <", value, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingLessThanOrEqualTo(Double value) {
            addCriterion("score_reading <=", value, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingIn(List<Double> values) {
            addCriterion("score_reading in", values, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingNotIn(List<Double> values) {
            addCriterion("score_reading not in", values, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingBetween(Double value1, Double value2) {
            addCriterion("score_reading between", value1, value2, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreReadingNotBetween(Double value1, Double value2) {
            addCriterion("score_reading not between", value1, value2, "scoreReading");
            return (Criteria) this;
        }

        public Criteria andScoreWritingIsNull() {
            addCriterion("score_writing is null");
            return (Criteria) this;
        }

        public Criteria andScoreWritingIsNotNull() {
            addCriterion("score_writing is not null");
            return (Criteria) this;
        }

        public Criteria andScoreWritingEqualTo(Double value) {
            addCriterion("score_writing =", value, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingNotEqualTo(Double value) {
            addCriterion("score_writing <>", value, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingGreaterThan(Double value) {
            addCriterion("score_writing >", value, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingGreaterThanOrEqualTo(Double value) {
            addCriterion("score_writing >=", value, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingLessThan(Double value) {
            addCriterion("score_writing <", value, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingLessThanOrEqualTo(Double value) {
            addCriterion("score_writing <=", value, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingIn(List<Double> values) {
            addCriterion("score_writing in", values, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingNotIn(List<Double> values) {
            addCriterion("score_writing not in", values, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingBetween(Double value1, Double value2) {
            addCriterion("score_writing between", value1, value2, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreWritingNotBetween(Double value1, Double value2) {
            addCriterion("score_writing not between", value1, value2, "scoreWriting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingIsNull() {
            addCriterion("score_integrated_testing is null");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingIsNotNull() {
            addCriterion("score_integrated_testing is not null");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingEqualTo(Double value) {
            addCriterion("score_integrated_testing =", value, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingNotEqualTo(Double value) {
            addCriterion("score_integrated_testing <>", value, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingGreaterThan(Double value) {
            addCriterion("score_integrated_testing >", value, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingGreaterThanOrEqualTo(Double value) {
            addCriterion("score_integrated_testing >=", value, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingLessThan(Double value) {
            addCriterion("score_integrated_testing <", value, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingLessThanOrEqualTo(Double value) {
            addCriterion("score_integrated_testing <=", value, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingIn(List<Double> values) {
            addCriterion("score_integrated_testing in", values, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingNotIn(List<Double> values) {
            addCriterion("score_integrated_testing not in", values, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingBetween(Double value1, Double value2) {
            addCriterion("score_integrated_testing between", value1, value2, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andScoreIntegratedTestingNotBetween(Double value1, Double value2) {
            addCriterion("score_integrated_testing not between", value1, value2, "scoreIntegratedTesting");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoIsNull() {
            addCriterion("admission_ticket_no is null");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoIsNotNull() {
            addCriterion("admission_ticket_no is not null");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoEqualTo(String value) {
            addCriterion("admission_ticket_no =", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoNotEqualTo(String value) {
            addCriterion("admission_ticket_no <>", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoGreaterThan(String value) {
            addCriterion("admission_ticket_no >", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoGreaterThanOrEqualTo(String value) {
            addCriterion("admission_ticket_no >=", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoLessThan(String value) {
            addCriterion("admission_ticket_no <", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoLessThanOrEqualTo(String value) {
            addCriterion("admission_ticket_no <=", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoLike(String value) {
            addCriterion("admission_ticket_no like", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoNotLike(String value) {
            addCriterion("admission_ticket_no not like", value, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoIn(List<String> values) {
            addCriterion("admission_ticket_no in", values, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoNotIn(List<String> values) {
            addCriterion("admission_ticket_no not in", values, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoBetween(String value1, String value2) {
            addCriterion("admission_ticket_no between", value1, value2, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andAdmissionTicketNoNotBetween(String value1, String value2) {
            addCriterion("admission_ticket_no not between", value1, value2, "admissionTicketNo");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemIsNull() {
            addCriterion("school_system is null");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemIsNotNull() {
            addCriterion("school_system is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemEqualTo(Integer value) {
            addCriterion("school_system =", value, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemNotEqualTo(Integer value) {
            addCriterion("school_system <>", value, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemGreaterThan(Integer value) {
            addCriterion("school_system >", value, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemGreaterThanOrEqualTo(Integer value) {
            addCriterion("school_system >=", value, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemLessThan(Integer value) {
            addCriterion("school_system <", value, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemLessThanOrEqualTo(Integer value) {
            addCriterion("school_system <=", value, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemIn(List<Integer> values) {
            addCriterion("school_system in", values, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemNotIn(List<Integer> values) {
            addCriterion("school_system not in", values, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemBetween(Integer value1, Integer value2) {
            addCriterion("school_system between", value1, value2, "schoolSystem");
            return (Criteria) this;
        }

        public Criteria andSchoolSystemNotBetween(Integer value1, Integer value2) {
            addCriterion("school_system not between", value1, value2, "schoolSystem");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}